package be.kdg.netpresent;

import java.io.*;
import java.rmi.*;
import java.util.Vector;

import javax.swing.ImageIcon;

public interface SlideInt extends Remote {

	// Method used to set the image content of the current slide.
	public void setImg(ImageIcon image) throws RemoteException, IOException;

	// Method used to set the text content of the current slide.
	public void setText(String sNewImgText) throws RemoteException;

	// Method used to add a question the the slide.
	public void addQuestion(String question) throws RemoteException;

	// Method to answer the above added question.
	public void addAnswer(int iQueNr, String answer) throws RemoteException;

	// Method to get the image content returned so it can be displayed.
	public ImageIcon getImage() throws RemoteException;

	// Method to get the text content returned so it can be displayed.
	public String getImgText() throws RemoteException;

	// Method to get the QnA content returned so it can be displayed.
	public Vector<String> getQnA() throws RemoteException;

}
